King Solomon's dilemma